package com.intellagric.mapper;

import com.intellagric.pojo.AgtMerchant;
import com.intellagric.pojo.AgtMerchantExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AgtMerchantMapper {
    long countByExample(AgtMerchantExample example);

    int deleteByExample(AgtMerchantExample example);

    int deleteByPrimaryKey(String id);

    int insert(AgtMerchant record);

    int insertSelective(AgtMerchant record);

    List<AgtMerchant> selectByExample(AgtMerchantExample example);

    AgtMerchant selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") AgtMerchant record, @Param("example") AgtMerchantExample example);

    int updateByExample(@Param("record") AgtMerchant record, @Param("example") AgtMerchantExample example);

    int updateByPrimaryKeySelective(AgtMerchant record);

    int updateByPrimaryKey(AgtMerchant record);
}